#!/bin/bash
if [ "$1" == "start" ]; then
	echo "Building olsr!"
	pushd . && \
	cd ../olsrd-0.6.3 && \
	make clean && \
	make && \
	cd lib/bmf && \
	make clean && \
	make && \
	make install && \
	popd && \ 
	echo success || \
	echo fail
fi